package com.gpframework.module.wages.domain.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @ClassName GzMonthlySalesCommissionAdd
 * @Author gpframework
 * @Date 2024-01-24
 * @Version 1.0.0
 * @Description 销售月度提成Add对象
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
public class GzMonthlySalesCommissionAdd {
    private static final long serialVersionUID = 1L;


    //@ApiModelProperty(value = "id",required = true)
    //private Long id;

    /** 月份 */
    @JsonFormat(pattern = "yyyy-MM")
    @ApiModelProperty("月份")
    private Date month;

    /** 部门 */
    @ApiModelProperty("部门")
    private String department;

    /** 员工id */
    @ApiModelProperty("员工id")
    private Long userId;

    /** 姓名 */
    @ApiModelProperty("姓名")
    private String name;

    /** 销售档位 */
    @ApiModelProperty("销售档位")
    private BigDecimal salesGear;

    /** 销售等级 */
    //@ApiModelProperty("销售等级")
    //private Long salesLevel;

    /** 起征点 */
    @ApiModelProperty("起征点")
    private BigDecimal startingPointTaxation;

    /** 提成比例 */
    @ApiModelProperty("提成比例")
    private BigDecimal commissionRatio;

    /** 月度总销售 */
    @ApiModelProperty("月度总销售")
    private BigDecimal monthlyTotalSales;

    /** 日奖金 */
    @ApiModelProperty("日奖金")
    private Long dailyBonus;

    /** 0未完成 */
    @ApiModelProperty("0未完成")
    private Integer complete;

    /** 排序 */
    @ApiModelProperty("排序")
    private Long sort;

    /** 备注 */
    @ApiModelProperty("备注")
    private String remarks;

    /**评定等级**/
    @ApiModelProperty("评定等级")
    private String ratingIevel;


    /** 销售奖 */
    @ApiModelProperty("销售奖")
    private BigDecimal salesAward;

    @ApiModelProperty("销售月度提成列表")
    private List<GzMonthlySalesCommissionUpdate> gzMonthlySalesCommissionList;

}
